import Select from '@mui/material/Select';
import type { ISMap } from '@/compnents';
import './search-location.less';

export type ISearchLocationProps = {
  map?: ISMap;
};

export const SearchLocation = (props: ISearchLocationProps) => {
  const { map } = props;
  if (!map) return null;
  return <Select placeholder="搜索" className="smap-search-location" />;
};
